import axios from "axios";
//封装axios请求
let service = axios.create({
  //在根url地址上 增加 接口后缀地址 实现获取数据
  baseURL: "http://localhost:3000/",
  timeout: 3000,
});

export default service;
